<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="../../../css/base.css" />
    <link rel="stylesheet" href="css/style.css" />
  </head>
  <body>
    <article>
      <div class="calculator neumorphism">
        <h2>整数计算器</h2>
        <p class="neumorphism">
          <span>结果:</span> <span class="result">0</span>
        </p>
        <div class="input-group">
          <input class="neumorphism" type="text" placeholder="请输入数字" />
          <input class="neumorphism" type="text" placeholder="请输入数字" />
        </div>
        <div class="btn-group">
          <button class="neumorphism" data-method="plus">+</button>
          <button class="neumorphism" data-method="minus">-</button>
          <button class="neumorphism" data-method="mul">*</button>
          <button class="neumorphism" data-method="div">/</button>
        </div>
      </div>
    </article>

    <script type="module">
      import Calculator from "./js/index.js";
      new Calculator().init();
    </script>
  </body>
</html>
